.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64px);
  padding: 20px;
  background-color: #f4f4f9;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-container {
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.message-wrapper {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
}

.message-wrapper.user {
  flex-direction: row-reverse;
}

.message-wrapper .avatar {
  flex-shrink: 0;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  padding: 8px 12px;
  margin-top: 4px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message.user {
  background-color: #1890ff;
  color: white;
  border-top-right-radius: 2px;
}

.message.expert {
  background-color: white;
  border-top-left-radius: 2px;
}

.message p {
  margin: 0;
  word-break: break-word;
}

.message img {
  max-width: 100%;
  border-radius: 4px;
}

.upload-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.upload-button:hover {
  background-color: #e0e0e0;
}
